package com.moba.domain;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Date;
import java.util.List;

/**
 * @author liu, jia
 * @version 2019-10-05 15:24
 * @date 2019-10-05 15:24
 */
@ApiModel(value = "UserInfo")
@Data
public class UserInfo extends BaseEntity implements Serializable {

  private static final long serialVersionUID = -1L;

  @ApiModelProperty(value = "")
  private Integer id;

  @ApiModelProperty(value = "用户名")
  private String userName;

  @ApiModelProperty(value = "真是姓名")
  private String realName;

  @ApiModelProperty(value = "用户类型")
  private Integer userType;

  @ApiModelProperty(value = "用户等级")
  private Integer userLevel;

  @ApiModelProperty(value = "密码")
  private String password;

  @ApiModelProperty(value = "安全密码")
  private String safePassword;

  @ApiModelProperty(value = "0：男")
  private Integer sex;

  @ApiModelProperty(value = "位置")
  private String positions;

  @ApiModelProperty(value = "生日")
  private Date birthday;

  @ApiModelProperty(value = "头像")
  private String userLogo;

  @ApiModelProperty(value = "手机号")
  private String mobile;

  @ApiModelProperty(value = "座机")
  private String officeTel;

  @ApiModelProperty(value = "email")
  private String email;

  @ApiModelProperty(value = "登录次数")
  private Integer loginCount;

  @ApiModelProperty(value = "登录ip")
  private String lastLoginIp;

  @ApiModelProperty(value = "最后登录时间")
  private Date lastLoginTime;

  @ApiModelProperty(value = "排序值")
  private Integer orderValue;

  @ApiModelProperty(value = "0：未锁定1：已锁定，不能删除，即不能将IS_DEL设置为1")
  private Integer isLock;

  @ApiModelProperty(value = "")
  private Integer isDel;

  @ApiModelProperty(value = "")
  private Date addDate;

  @ApiModelProperty(value = "")
  private Integer addUserId;

  @ApiModelProperty(value = "")
  private Date updateDate;

  @ApiModelProperty(value = "")
  private Integer updateUserId;

  @ApiModelProperty(value = "")
  private Date delDate;

  @ApiModelProperty(value = "")
  private Integer delUserId;

  @ApiModelProperty(value = "部门id")
  private Integer deptId;

  @ApiModelProperty(value = "部门名称")
  private String deptName;

  @ApiModelProperty(value = "区域代码")
  private Integer pIndex;

  @ApiModelProperty(value = "是否企业")
  private Integer isEntp;

  @ApiModelProperty(value = "余额")
  private BigDecimal biDianzi;

  @ApiModelProperty(value = "USDT")
  private BigDecimal biUsdt;

  @ApiModelProperty(value = "gusd")
  private BigDecimal gusd;

  @ApiModelProperty(value = "累计消费金额")
  private BigDecimal leijiMoneyUser;

  @ApiModelProperty(value = "推荐人id")
  private String ymid;

  @ApiModelProperty(value = "区块链")
  private String blockChain;

  @ApiModelProperty(value = "资源权限")
  private List<String> authorities;

  @ApiModelProperty(value = "usdt地址")
  private String usdtAddr;

  @ApiModelProperty(value = "短信验证码")
  private String msgCode;

  @ApiModelProperty(value = "二维码路径")
  private String qrcodePath;

  @ApiModelProperty(value = "排单次数")
  private Integer orderCount;

  @ApiModelProperty(value = "矿源")
  private BigDecimal orderMoneySum;
}
